package com.tsoj.tsojquestionservice.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tsoj.model.dto.questionSubmit.QuestionSubmitAddDto;
import com.tsoj.model.dto.questionSubmit.QuestionSubmitQueryDto;
import com.tsoj.model.po.QuestionSubmit;
import com.tsoj.model.vo.QuestionSubmitVO;


/**
* @author 孙金硕
* @description 针对表【questionsubmit(题目提交)】的数据库操作Service
* @createDate 2025-04-15 10:00:08
*/
public interface QuestionsubmitService extends IService<QuestionSubmit> {
    //做题目提交
    long doQuestionSubmit(QuestionSubmitAddDto questionSubmitAddRequest, long id);
    //封装查询条件
    Wrapper<QuestionSubmit> getQueryWrapper(QuestionSubmitQueryDto questionSubmitQueryDto);
    //得到脱敏处理结果
    Page<QuestionSubmitVO> getQuestionSubmitVOList(Page<QuestionSubmit> page, Long userId);

}
